package com.jdjw.modules.sysuser.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author fq
 * @since 2021-07-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SysUser对象", description="")
public class SysUser implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ID_WORKER)
    private String id;

    @ApiModelProperty(value = "真实名称")
    private String realname;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "负责人姓名")
    private String name;

    @ApiModelProperty(value = "头像")
    private String portrait;

    @ApiModelProperty(value = "密码")
    private String password;

    private String salt;

    @ApiModelProperty(value = "邮件")
    private String email;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "系统用户的状态")
    private String status;

    @ApiModelProperty(value = "部门编号")
    private String deptId;

    @ApiModelProperty(value = "组织机构编号")
    private String orgId;

    private Date createDate;

    private String updateBy;

    private Date updateDate;

    private String delFlag;

    private String remarks;

    private String createBy;

    @ApiModelProperty(value = "分管领导电话")
    private String leadPhone;

    @ApiModelProperty(value = "法人电话")
    private String legalPhone;

    @ApiModelProperty(value = "0所有权限1机构权限2部门权限")
    private String permissions;

    private String isbig;

    @ApiModelProperty(value = "首页风格")
    private String indextype;

    private String duty;

    private String idcard;

    @ApiModelProperty(value = "用户角色id")
    private String roleIdList;


}
